#define  _CRT_SECURE_NO_WARNINGS  1
#include<stdio.h>
int main(void)
{
	int a, b;
	scanf("%d%d", &a, &b);

	int* pa = &a;
	int* pb = &b;

	printf("%d %d", *pb, *pa);


	return 0;
}